4d49130002693bc88b2374431777f6b533b6262f,OsmAnd/src/net/osmand/plus/helpers/ColorDialogs.java,ColorDialogs,colorToString,#number#,97

Before Change


			c = c.length() <= 6 ? "000000".substring(c.length()) + c : c; //$NON-NLS-1$
			return "#" + c; //$NON-NLS-1$
		} else {
			return "#" + Integer.toHexString(color); //$NON-NLS-1$
		}
	}
}

After Change


			c = c.length() <= 6 ? "000000".substring(c.length()) + c : c; //$NON-NLS-1$
		} else if ((0x00FFFFFF & color) == color) {
			//issue: if alpha=00 this is wrong
			c = Integer.toHexString(color);
			c = c.length() <= 6 ? "000000".substring(c.length()) + c : c; //$NON-NLS-1$
		} else {
			c = Integer.toHexString(color);